package com.boang.lambda;

/*
    @author:sa
    @date:2024/11/29 16:38
*/
public class LambdaDemo {
    public static void main(String[] args) {
       new Thread(new Runnable() {
           @Override
           public void run() {
               System.out.println("abc");
           }
       }).start();
        new Thread(() -> {System.out.println("abc");}).start();
        new Thread(() -> System.out.println("abc")).start();
    }
}